package com.softeem.mapper;

import com.softeem.pojo.Admin;
import com.softeem.pojo.model.LoginModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface AdminMapper {

    //根据用户ID查询用户信息
    Admin selectById(Integer id);

    //根据用户名和密码查询
    Admin selectByNameAndPwd(LoginModel loginModel);

}
